//
//  Common.swift
//  willdo
//
//  Created by zz on 3/25/18.
//  Copyright © 2018 will do. All rights reserved.
//

import UIKit
import SnapKit

let BACKGROUND_GRAY = UIColor(hexString: "#f1f2f6")
var firstRespondView:UIView!

enum TaskState:String {
    case needReceive = "待接收"
    case needCommit = "待提交"
    case needReview = "待审核"
    case needArchive = "待归档"
}

enum ReviewState:String {
    case needReceive = "待接收"
    case needCommit = "待提交"
    case needReview = "待审核"
    case needArchive = "待归档"
}

enum EmergencyState: String{
    case emergency = "紧急"
}


// Test Modle
let modle1 = MyTaskModle(name: "赞助安排", time: "2018.2.5", member: "张三", state: .needReceive)
let modle2 = MyTaskModle(name: "十佳座位图制作", time: "2019.2.30", member: "张三", state: .needCommit)
let modle3 = MyTaskModle(name: "活动策划书", time: "2020.1.32", member: "李四", state: .needReview)
let modle4 = MyTaskModle(name: "座位图制作", time: "2019.13.20", member: "张三", state: .needArchive)
let modle5 = MyTaskModle(name: "赞助安排", time: "520.13.14", member: "王五", state: .needArchive)
let modle6 = MyTaskModle(name: "策划书", time: "爱什么", member: "李四", state: .needCommit)
let modle7 = MyTaskModle(name: "十佳座位图制作", time: "2018.12.20", member: "李四", state: .needReceive)
let modle8 = MyTaskModle(name: "座位图制作", time: "2018.12.20", member: "张三", state: .needReceive)
let modle9 = MyTaskModle(name: "赞助安排", time: "2018.12.20", member: "王五", state: .needReview)

let TASK_MODLE = [modle1, modle2, modle3, modle4, modle5, modle6, modle7, modle8, modle9,
              modle1, modle2, modle3, modle4, modle5, modle6, modle7, modle8, modle9]

//
//let modle_1 = MyReviewModle(name: "这个项目木钱", time: "2018.2.29", member: "呵呵", state: .needReceive)
//let modle_2 = MyReviewModle(name: "给开发者加鸡腿", time: "2019.2.30", member: "求鸡腿", state: .needCommit)
//let modle_3 = MyReviewModle(name: "不给鸡腿不干活", time: "2020.1.32", member: "求鸡腿+1", state: .needReview)
//let modle_4 = MyReviewModle(name: "没有赞助还不给个鸡腿", time: "2019.13.20", member: "求鸡腿+2", state: .needArchive)
//let modle_5 = MyReviewModle(name: "我只能在此吐槽", time: "520.13.14", member: "求鸡腿+3", state: .needArchive)
//let modle_6 = MyReviewModle(name: "如此努力吐槽还不给鸡腿", time: "爱什么", member: "求鸡腿+4", state: .needCommit)
//let modle_7 = MyReviewModle(name: "鸡腿鼓励", time: "2018.12.20", member: "求鸡腿+10086", state: .needReceive)
//let modle_8 = MyReviewModle(name: "没鸡腿算了", time: "2018.12.20", member: "不要鸡腿了", state: .needReceive)
//let modle_9 = MyReviewModle(name: "那我就去隔壁帮帮吧了", time: "2018.12.20", member: "不干了，走了", state: .needReview)
//
//let REVIEW_MODLE = [modle_1, modle_2, modle_3, modle_4, modle_5, modle_6, modle_7, modle_8, modle_9]

//MyTaskDetailModle(taskModle: modle[index.row], emergencyState: EmergencyState.emergency, leader_avatar: "", receive_avatar: "", commitTime: "", commitMsg: <#T##String#>, file: , subTask: <#T##Int?#>, taskMember: <#T##[String]?#>)

let file1 = MyTaskFile(name: "示意图", time: "2018.12.12", member: "李四", size: "1.5M", img: "", url: "")
let file2 = MyTaskFile(name: "示意图", time: "2018.12.12", member: "李四", size: "1.5M", img: "", url: "")
let file3 = MyTaskFile(name: "示意图", time: "2018.12.12", member: "李四", size: "1.5M", img: "", url: "")
let MY_FILE = [[file1,file2,file3], [file1], [file2], [file2,file1,file3,file2,file3],[file1,file2,file3], [file1], [file2], [file2,file1,file3,file2,file3],nil,
               [file1,file2,file3], [file1], [file2], [file2,file1,file3,file2,file3],[file1,file2,file3], [file1], [file2], [file2,file1,file3,file2,file3],nil]
//let TASK_DETAIL_MODLE = []


let file_1 = MyReviewFile(name: "示意图", time: "2018.12.12", member: "李四", size: "1.5M", img: "", url: "")
let file_2 = MyReviewFile(name: "示意图", time: "2018.12.12", member: "李四", size: "1.5M", img: "", url: "")
let file_3 = MyReviewFile(name: "示意图", time: "2018.12.12", member: "李四", size: "1.5M", img: "", url: "")
let REVIEW_FILE = [[file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3],[file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3],nil,
               [file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3],[file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3], [file_1,file_2,file_3],nil]


let CONTACT_GROUP = ["组织部", "秘书处", "技术部"]
//let CONTACT_DETAIL = [["尹子萌","周子云","余琪圣"],["呵呵","神秘人","程序员"],["旅店老板","旗鼓相当的对手","一个鱼人"]]
//let CONTACT_TASK = [["暂无","整理","没事"],["代码","coding","dead"],["发牌","对战","发神经"]]

let internal_modle1 = InternalMemberModel(name: "张三", task: "赞助安排", tel: "18100000000", email: "18100000000@qq.com", belong: "组织部", position: "组织部长", note: "备注")
let internal_modle2 = InternalMemberModel(name: "李四", task: "活动策划书", tel: "18100000001", email: "18100000001@qq.com", belong: "组织部", position: "组织部副部长", note: "备注")
let internal_modle3 = InternalMemberModel(name: "王五", task: "暂无任务", tel: "18100000002", email: "18100000002@qq.com", belong: "秘书处", position: "秘书长", note: "备注")
let internal_modle4 = InternalMemberModel(name: "赵六", task: "暂无任务", tel: "18100000003", email: "18100000003@qq.com", belong: "技术部", position: "技术部部长", note: "备注")
let internal_modle5 = InternalMemberModel(name: "孙七", task: "暂无任务", tel: "18100000004", email: "18100000004@qq.com", belong: "技术部", position: "技术部副部长", note: "备注")
let internal_modle6 = InternalMemberModel(name: "周八", task: "暂无任务", tel: "18100000005", email: "18100000005@qq.com", belong: "技术部", position: "技术部成员", note: "备注")
let CONTACT_INTERNAL_MODLE = [[internal_modle1,internal_modle2],[internal_modle3],[internal_modle4,internal_modle5,internal_modle6]]
//
//let contact_modle1 = ExternalMemberModel(name: "米尔豪斯", position: "法师", tel: "110", note: "等到我有十点法力值的时候")
//let contact_modle2 = ExternalMemberModel(name: "周卓", position: "诗人", tel: "120", note: "你的法术给我瞧瞧")
//let contact_modle3 = ExternalMemberModel(name: "玛法里奥", position: "德鲁伊", tel: "404", note: "你无法抵挡大自然的力量\n生命的轮回结束了\n衰败的轮回开始了")
//let contact_modle4 = ExternalMemberModel(name: "死亡之翼", position: "龙", tel: "not found", note: "所有巨龙都将拜倒在我的面前")
//let contact_modle5 = ExternalMemberModel(name: "玛维", position: "盗贼／刺客", tel: "200", note: "你无法逃出死亡的阴影")
//let contact_modle6 = ExternalMemberModel(name: "古尔丹", position: "术士", tel: "403", note: "我会夺去你的灵魂")
//let contact_modle7 = ExternalMemberModel(name: "阿尔萨斯", position: "圣骑士", tel: "500", note: "为了洛丹伦")
//let contact_modle8 = ExternalMemberModel(name: "巫妖王", position: "污染者", tel: "114", note: "为了巫妖王")
//let contact_modle9 = ExternalMemberModel(name: "乌瑟尔", position: "圣骑士", tel: "119", note: "荣耀赐予我胜利")
//
//let CONTACT_INFO = [contact_modle1,contact_modle2,contact_modle3,contact_modle4,
//                    contact_modle5,contact_modle6,contact_modle7,contact_modle8,contact_modle9]

